@@ -26,7 +26,7 @@ my %module_build_args = (
'Jerome Quelin'
],
'dist_name' => 'Dist-Zilla-Plugin-Git',
- 'dist_version' => '1.111590',
+ 'dist_version' => '1.112060',
'license' => 'perl',
'module_name' => 'Dist::Zilla::Plugin::Git',
'recommends' => {},
@@ -1,5 +1,9 @@
Revision history for Dist::Zilla::Plugin::Git
+1.112060 2011-07-25 10:25:29 Europe/Paris
+ - fix rt#66705 - localization of HOME in tests
+ - fix rt#69616 & rt#69701 - make dzp-git work with git::wrapper 0.015
+
1.111590 2011-06-08 09:43:35 Europe/Paris
- mocks HOME to avoid test failures (david golden)
@@ -18,15 +18,16 @@ This is free software, licensed under:
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@ authors' reputations.
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- Appendix: How to Apply These Terms to Your New Programs
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@ the exclusion of warranty; and each file should have at least the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
Also add information on how to contact you by electronic and paper mail.
@@ -4,7 +4,7 @@
"Jerome Quelin"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110930",
+ "generated_by" : "Dist::Zilla version 4.200009, CPAN::Meta::Converter version 2.110930",
"license" : [
"perl_5"
],
@@ -71,43 +71,43 @@
"provides" : {
"Dist::Zilla::Plugin::Git" : {
"file" : "lib/Dist/Zilla/Plugin/Git.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::Plugin::Git::Check" : {
"file" : "lib/Dist/Zilla/Plugin/Git/Check.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::Plugin::Git::Commit" : {
"file" : "lib/Dist/Zilla/Plugin/Git/Commit.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::Plugin::Git::CommitBuild" : {
"file" : "lib/Dist/Zilla/Plugin/Git/CommitBuild.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::Plugin::Git::Init" : {
"file" : "lib/Dist/Zilla/Plugin/Git/Init.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::Plugin::Git::NextVersion" : {
"file" : "lib/Dist/Zilla/Plugin/Git/NextVersion.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::Plugin::Git::Push" : {
"file" : "lib/Dist/Zilla/Plugin/Git/Push.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::Plugin::Git::Tag" : {
"file" : "lib/Dist/Zilla/Plugin/Git/Tag.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::PluginBundle::Git" : {
"file" : "lib/Dist/Zilla/PluginBundle/Git.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
},
"Dist::Zilla::Role::Git::DirtyFiles" : {
"file" : "lib/Dist/Zilla/Role/Git/DirtyFiles.pm",
- "version" : "1.111590"
+ "version" : "1.112060"
}
},
"release_status" : "stable",
@@ -124,23 +124,23 @@
},
"x_MailingList" : "http://www.listbox.com/subscribe/?list_id=139292"
},
- "version" : "1.111590",
+ "version" : "1.112060",
"x_Dist_Zilla" : {
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::AutoVersion",
"name" : "@JQUELIN/AutoVersion",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@JQUELIN/GatherDir",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::CompileTests",
@@ -165,12 +165,12 @@
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@JQUELIN/PodCoverageTests",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@JQUELIN/PodSyntaxTests",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
@@ -180,37 +180,37 @@
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@JQUELIN/PruneCruft",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::PruneFiles",
"name" : "@JQUELIN/PruneFiles",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@JQUELIN/ManifestSkip",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@JQUELIN/AutoPrereqs",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@JQUELIN/ExtraTests",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@JQUELIN/NextRelease",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@JQUELIN/PkgVersion",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -225,12 +225,12 @@
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@JQUELIN/ExecDir",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@JQUELIN/ShareDir",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::Bugtracker",
@@ -245,7 +245,7 @@
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "@JQUELIN/Repository",
- "version" : "0.17"
+ "version" : "0.18"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -255,37 +255,37 @@
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@JQUELIN/MetaConfig",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@JQUELIN/License",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@JQUELIN/MetaYAML",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@JQUELIN/MetaJSON",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuild",
"name" : "@JQUELIN/ModuleBuild",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@JQUELIN/Readme",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@JQUELIN/Manifest",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::CheckChangeLog",
@@ -325,32 +325,42 @@
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@JQUELIN/UploadToCPAN",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::PruneFiles",
"name" : "PruneFiles",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.200004"
+ "version" : "4.200009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":IncModules",
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.200004"
+ "version" : "4.200009"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.200004"
+ "version" : "4.200009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":MainModule",
+ "version" : "4.200009"
}
],
"zilla" : {
@@ -358,7 +368,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.200004"
+ "version" : "4.200009"
}
}
}
@@ -16,7 +16,7 @@ build_requires:
configure_requires:
Module::Build: 0.3601
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110930'
+generated_by: 'Dist::Zilla version 4.200009, CPAN::Meta::Converter version 2.110930'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,34 +25,34 @@ name: Dist-Zilla-Plugin-Git
provides:
Dist::Zilla::Plugin::Git:
file: lib/Dist/Zilla/Plugin/Git.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::Plugin::Git::Check:
file: lib/Dist/Zilla/Plugin/Git/Check.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::Plugin::Git::Commit:
file: lib/Dist/Zilla/Plugin/Git/Commit.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::Plugin::Git::CommitBuild:
file: lib/Dist/Zilla/Plugin/Git/CommitBuild.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::Plugin::Git::Init:
file: lib/Dist/Zilla/Plugin/Git/Init.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::Plugin::Git::NextVersion:
file: lib/Dist/Zilla/Plugin/Git/NextVersion.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::Plugin::Git::Push:
file: lib/Dist/Zilla/Plugin/Git/Push.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::Plugin::Git::Tag:
file: lib/Dist/Zilla/Plugin/Git/Tag.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::PluginBundle::Git:
file: lib/Dist/Zilla/PluginBundle/Git.pm
- version: 1.111590
+ version: 1.112060
Dist::Zilla::Role::Git::DirtyFiles:
file: lib/Dist/Zilla/Role/Git/DirtyFiles.pm
- version: 1.111590
+ version: 1.112060
requires:
Class::MOP: 0
Cwd: 0
@@ -85,21 +85,21 @@ resources:
homepage: http://search.cpan.org/dist/Dist-Zilla-Plugin-Git/
repository: git://github.com/jquelin/dist-zilla-plugin-git.git
x_MailingList: http://www.listbox.com/subscribe/?list_id=139292
-version: 1.111590
+version: 1.112060
x_Dist_Zilla:
plugins:
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::AutoVersion
name: '@JQUELIN/AutoVersion'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::GatherDir
name: '@JQUELIN/GatherDir'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::CompileTests
name: '@JQUELIN/CompileTests'
@@ -119,11 +119,11 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@JQUELIN/PodCoverageTests'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@JQUELIN/PodSyntaxTests'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@JQUELIN/ReportVersions::Tiny'
@@ -131,31 +131,31 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@JQUELIN/PruneCruft'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::PruneFiles
name: '@JQUELIN/PruneFiles'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@JQUELIN/ManifestSkip'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@JQUELIN/AutoPrereqs'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@JQUELIN/ExtraTests'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::NextRelease
name: '@JQUELIN/NextRelease'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@JQUELIN/PkgVersion'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::PodWeaver
name: '@JQUELIN/PodWeaver'
@@ -167,11 +167,11 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::ExecDir
name: '@JQUELIN/ExecDir'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::ShareDir
name: '@JQUELIN/ShareDir'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::Bugtracker
name: '@JQUELIN/Bugtracker'
@@ -183,7 +183,7 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Repository
name: '@JQUELIN/Repository'
- version: 0.17
+ version: 0.18
-
class: Dist::Zilla::Plugin::MetaProvides::Package
name: '@JQUELIN/MetaProvides::Package'
@@ -191,31 +191,31 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@JQUELIN/MetaConfig'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::License
name: '@JQUELIN/License'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@JQUELIN/MetaYAML'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@JQUELIN/MetaJSON'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::ModuleBuild
name: '@JQUELIN/ModuleBuild'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::Readme
name: '@JQUELIN/Readme'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::Manifest
name: '@JQUELIN/Manifest'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::CheckChangeLog
name: '@JQUELIN/CheckChangeLog'
@@ -247,29 +247,37 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@JQUELIN/UploadToCPAN'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::PruneFiles
name: PruneFiles
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.200004
+ version: 4.200009
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':IncModules'
+ version: 4.200009
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.200004
+ version: 4.200009
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.200004
+ version: 4.200009
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':MainModule'
+ version: 4.200009
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.200004
+ version: 4.200009
@@ -1,7 +1,7 @@
This archive contains the distribution Dist-Zilla-Plugin-Git,
-version 1.111590:
+version 1.112060:
update your git repository after release
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::Plugin::Git::Check;
BEGIN {
- $Dist::Zilla::Plugin::Git::Check::VERSION = '1.111590';
+ $Dist::Zilla::Plugin::Git::Check::VERSION = '1.112060';
}
# ABSTRACT: check your git repository before releasing
@@ -78,7 +78,7 @@ Dist::Zilla::Plugin::Git::Check - check your git repository before releasing
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 SYNOPSIS
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::Plugin::Git::Commit;
BEGIN {
- $Dist::Zilla::Plugin::Git::Commit::VERSION = '1.111590';
+ $Dist::Zilla::Plugin::Git::Commit::VERSION = '1.112060';
}
# ABSTRACT: commit dirty files
@@ -129,7 +129,7 @@ Dist::Zilla::Plugin::Git::Commit - commit dirty files
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 SYNOPSIS
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::Plugin::Git::CommitBuild;
BEGIN {
- $Dist::Zilla::Plugin::Git::CommitBuild::VERSION = '1.111590';
+ $Dist::Zilla::Plugin::Git::CommitBuild::VERSION = '1.112060';
}
# ABSTRACT: checkin build results on separate branch
@@ -148,7 +148,7 @@ Dist::Zilla::Plugin::Git::CommitBuild - checkin build results on separate branch
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 SYNOPSIS
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::Plugin::Git::Init;
BEGIN {
- $Dist::Zilla::Plugin::Git::Init::VERSION = '1.111590';
+ $Dist::Zilla::Plugin::Git::Init::VERSION = '1.112060';
}
# ABSTRACT: initialize git repository on dzil new
@@ -88,7 +88,7 @@ Dist::Zilla::Plugin::Git::Init - initialize git repository on dzil new
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 SYNOPSIS
@@ -11,7 +11,7 @@ use warnings;
package Dist::Zilla::Plugin::Git::NextVersion;
BEGIN {
- $Dist::Zilla::Plugin::Git::NextVersion::VERSION = '1.111590';
+ $Dist::Zilla::Plugin::Git::NextVersion::VERSION = '1.112060';
}
# ABSTRACT: provide a version number by bumping the last git release tag
@@ -75,7 +75,7 @@ Dist::Zilla::Plugin::Git::NextVersion - provide a version number by bumping the
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 SYNOPSIS
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::Plugin::Git::Push;
BEGIN {
- $Dist::Zilla::Plugin::Git::Push::VERSION = '1.111590';
+ $Dist::Zilla::Plugin::Git::Push::VERSION = '1.112060';
}
# ABSTRACT: push current branch
@@ -59,7 +59,7 @@ Dist::Zilla::Plugin::Git::Push - push current branch
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 SYNOPSIS
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::Plugin::Git::Tag;
BEGIN {
- $Dist::Zilla::Plugin::Git::Tag::VERSION = '1.111590';
+ $Dist::Zilla::Plugin::Git::Tag::VERSION = '1.112060';
}
# ABSTRACT: tag the new version
@@ -94,7 +94,7 @@ Dist::Zilla::Plugin::Git::Tag - tag the new version
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 SYNOPSIS
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::Plugin::Git;
BEGIN {
- $Dist::Zilla::Plugin::Git::VERSION = '1.111590';
+ $Dist::Zilla::Plugin::Git::VERSION = '1.112060';
}
# ABSTRACT: update your git repository after release
@@ -28,7 +28,7 @@ Dist::Zilla::Plugin::Git - update your git repository after release
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 DESCRIPTION
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::PluginBundle::Git;
BEGIN {
- $Dist::Zilla::PluginBundle::Git::VERSION = '1.111590';
+ $Dist::Zilla::PluginBundle::Git::VERSION = '1.112060';
}
# ABSTRACT: all git plugins in one go
@@ -66,7 +66,7 @@ Dist::Zilla::PluginBundle::Git - all git plugins in one go
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 SYNOPSIS
@@ -12,7 +12,7 @@ use warnings;
package Dist::Zilla::Role::Git::DirtyFiles;
BEGIN {
- $Dist::Zilla::Role::Git::DirtyFiles::VERSION = '1.111590';
+ $Dist::Zilla::Role::Git::DirtyFiles::VERSION = '1.112060';
}
# ABSTRACT: provide the allow_dirty & changelog attributes
@@ -70,7 +70,7 @@ Dist::Zilla::Role::Git::DirtyFiles - provide the allow_dirty & changelog attribu
=head1 VERSION
-version 1.111590
+version 1.112060
=head1 DESCRIPTION
@@ -13,11 +13,15 @@ use warnings;
use Dist::Zilla 1.093250;
use Dist::Zilla::Tester;
+use File::Temp qw{ tempdir };
use Git::Wrapper;
use Path::Class;
use Test::More tests => 4;
use Test::Exception;
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
# build fake repository
my $zilla = Dist::Zilla::Tester->from_config({
dist_root => dir(qw(t check)),
@@ -13,11 +13,15 @@ use warnings;
use Dist::Zilla 1.093250;
use Dist::Zilla::Tester;
+use File::Temp qw{ tempdir };
use Git::Wrapper;
use Path::Class;
use Test::More tests => 5;
use Cwd qw(cwd);
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
my $cwd = cwd();
my $zilla = Dist::Zilla::Tester->from_config({
dist_root => dir($cwd, qw(t commit-build-custom)),
@@ -13,11 +13,15 @@ use warnings;
use Dist::Zilla 1.093250;
use Dist::Zilla::Tester;
+use File::Temp qw{ tempdir };
use Git::Wrapper;
use Path::Class;
use Test::More tests => 4;
use Cwd qw(cwd);
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
my $cwd = cwd();
my $zilla = Dist::Zilla::Tester->from_config({
dist_root => dir($cwd, qw(t commit-build)),
@@ -42,7 +42,7 @@ $zilla->release;
# check if dist.ini and changelog have been committed
my ($log) = $git->log( 'HEAD' );
-is( $log->message, "v1.23\n\n- foo\n- bar\n- baz\n", 'commit message taken from changelog' );
+like( $log->message, qr/v1.23\n[^a-z]*foo[^a-z]*bar[^a-z]*baz/, 'commit message taken from changelog' );
# check if we committed our tarball
my @files = $git->ls_files( { cached => 1 } );
@@ -13,10 +13,14 @@ use warnings;
use Dist::Zilla 1.093250;
use Dist::Zilla::Tester;
+use File::Temp qw{ tempdir };
use Git::Wrapper;
use Path::Class;
use Test::More tests => 1;
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
my $zilla = Dist::Zilla::Tester->from_config({
dist_root => dir(qw(t commit-ws)),
});
@@ -38,17 +42,7 @@ $zilla->release;
# check if dist.ini and changelog have been committed
my ($log) = $git->log( 'HEAD' );
-my $expected = << "HERE";
-v1.23
-
-- foo
-
-- bar
-
-- baz
-HERE
-
-is( $log->message, $expected, 'commit message taken from changelog' );
+like( $log->message, qr/v1.23\n[^a-z]*foo[^a-z]*bar[^a-z]*baz/, 'commit message taken from changelog' );
sub append_to_file {
my ($file, @lines) = @_;
@@ -13,10 +13,14 @@ use warnings;
use Dist::Zilla 1.093250;
use Dist::Zilla::Tester;
+use File::Temp qw{ tempdir };
use Git::Wrapper;
use Path::Class;
use Test::More tests => 1;
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
# build fake repository
my $zilla = Dist::Zilla::Tester->from_config({
dist_root => dir(qw(t commit)),
@@ -37,7 +41,7 @@ $zilla->release;
# check if dist.ini and changelog have been committed
my ($log) = $git->log( 'HEAD' );
-is( $log->message, "v1.23\n\n- foo\n- bar\n- baz\n", 'commit message taken from changelog' );
+like( $log->message, qr/v1.23\n[^a-z]*foo[^a-z]*bar[^a-z]*baz/, 'commit message taken from changelog' );
sub append_to_file {
my ($file, @lines) = @_;
@@ -13,10 +13,14 @@ use warnings;
use Dist::Zilla 1.093250;
use Dist::Zilla::Tester;
+use File::Temp qw{ tempdir };
use Git::Wrapper;
use Path::Class;
use Test::More tests => 4;
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
# build fake repository
my $zilla = Dist::Zilla::Tester->from_config({
dist_root => dir(qw(t tag)),
@@ -20,6 +20,9 @@ use Path::Class;
use Test::More;
use version;
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
# build fake repository
my $zilla = Dist::Zilla::Tester->from_config({
dist_root => dir(qw(t push-multi)),
@@ -63,7 +66,7 @@ for my $c ( $clone1, $clone2 ) {
# check if everything was pushed
$git = Git::Wrapper->new( $c );
my ($log) = $git->log( 'HEAD' );
- is( $log->message, "v1.23\n\n- foo\n- bar\n- baz\n", "commit pushed to $c" );
+ like( $log->message, qr/v1.23\n[^a-z]*foo[^a-z]*bar[^a-z]*baz/, "commit pushed to $c" );
# check if tag has been correctly created
my @tags = $git->tag;
@@ -20,6 +20,9 @@ use Path::Class;
use Test::More;
use version;
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
# build fake repository
my $zilla = Dist::Zilla::Tester->from_config({
dist_root => dir(qw(t push)),
@@ -59,7 +62,7 @@ $zilla->release;
# check if everything was pushed
$git = Git::Wrapper->new( $clone );
my ($log) = $git->log( 'HEAD' );
-is( $log->message, "v1.23\n\n- foo\n- bar\n- baz\n", 'commit pushed' );
+like( $log->message, qr/v1.23\n[^a-z]*foo[^a-z]*bar[^a-z]*baz/, 'commit pushed' );
# check if tag has been correctly created
my @tags = $git->tag;
@@ -4,6 +4,7 @@ use warnings;
use Dist::Zilla::Tester;
use Git::Wrapper;
use Path::Class;
+use File::Temp qw{ tempdir };
use File::pushd qw/pushd tempd/;
use File::Copy::Recursive qw/dircopy/;
@@ -14,6 +15,9 @@ BEGIN {
@INC = map {; ref($_) ? $_ : dir($_)->absolute->stringify } @INC;
}
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
# save absolute corpus directory path
my $corpus_dir = dir('corpus/version-default')->absolute;
@@ -4,8 +4,9 @@ use warnings;
use Dist::Zilla::Tester;
use Git::Wrapper;
use Path::Class;
-use File::pushd qw/pushd tempd/;
-use File::Copy::Recursive qw/dircopy/;
+use File::Copy::Recursive qw{ dircopy };
+use File::Temp qw{ tempdir };
+use File::pushd qw{ pushd tempd };
use Test::More 0.88 tests => 6;
@@ -14,6 +15,9 @@ BEGIN {
@INC = map {; ref($_) ? $_ : dir($_)->absolute->stringify } @INC;
}
+# Mock HOME to avoid ~/.gitexcludes from causing problems
+$ENV{HOME} = tempdir( CLEANUP => 1 );
+
# save absolute corpus directory path
my $corpus_dir = dir('corpus/version-regexp')->absolute;